package com.service.core.rest.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 分页数据对象
 */
@Setter
@Getter
@ToString
public class PageResponse<T> extends BaseResponse {

    private CommonPageRep<T> data;

    public PageResponse() {
    }

    public PageResponse(Integer status, String desc, CommonPageRep<T> data) {
        super(status, desc);
        this.data = data;
    }
}
